summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2014-07-29 19:18:55 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2014-07-29 19:18:55 +0200
commitb64bf28e5f7879bb083801dd80cfce17dc764f2a (patch)
tree63a96e59036e5c5937afc7afee33be89af782a8b
parentf7d8e74e96af522f0a0cdc8a9ba13a0905522b32 (diff)
downloadChimère - projet Saclay-b64bf28e5f7879bb083801dd80cfce17dc764f2a.tar.bz2
Chimère - projet Saclay-b64bf28e5f7879bb083801dd80cfce17dc764f2a.zip
Remove chort and long description...
-rw-r--r--templates/chimere/detail.html9
1 files changed, 1 insertions, 8 deletions
diff --git a/templates/chimere/detail.html b/templates/chimere/detail.html
index 8c49fa4..929cd95 100644
--- a/templates/chimere/detail.html
+++ b/templates/chimere/detail.html
@@ -18,10 +18,7 @@
{% if marker.end_date %} - {{marker.end_date|date:"D d M Y"}}</p>{% endif %}</span>
{% endif %}
{% if marker.description %}
- <div class='description description_short' id='description_short_{{marker.pk}}'>{{ marker.short_desc|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}{% if marker.description != marker.short_desc%}...{%endif%}</div>
- {% if marker.description != marker.short_desc%}
- <div id='description_long_{{marker.pk}}' class='description description_long'>{{ marker.description|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}</div>
- {% endif %}
+ <div id='description_long_{{marker.pk}}' class='description'>{{ marker.description|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}</div>
{% endif %}
{% for property in marker.getProperties %}{% if property.value %}
<div class='properties' id='{{property.propertymodel.getAttrName}}'><strong>{{property.propertymodel.name}}</strong> : {% if 'http://' in property.value %}<a href='{{ property.value|sanitize:""}}'>{%endif%}{{ property.value|sanitize:"p b i br hr strong em span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}{% if 'http://' in property.value %}</a>{%endif%}</div>
@@ -32,10 +29,6 @@
</div>
</div>
<div id='detail_footer'>
-{% if marker.description and marker.description != marker.short_desc %}
- <p class='read_more' id='read_more_{{marker.pk}}'>{% trans "Read more" %}</p>
- <p class='read_less' id='read_less_{{marker.pk}}'>{% trans "Read less" %}</p>
-{% endif %}
<div id='detail-action-bar'>
<a class='detail_from' href='#'>{% trans "From" context "routing" %}</a>
| <a class='detail_to' href='#'>{% trans "To" context "routing" %}</a>